#ifndef XVIDEOUI_H
#define XVIDEOUI_H

#include <QWidget>

QT_BEGIN_NAMESPACE
namespace Ui {
class XVideoUI;
}
QT_END_NAMESPACE

class XVideoUI : public QWidget
{
    Q_OBJECT

public:
    XVideoUI(QWidget *parent = nullptr);
    ~XVideoUI();

protected:
    //void timerEvent(QTimerEvent *e);

private slots:
    void do_setPos(double pos);

    //导出结束
    void do_exportEnd();

    void on_btnOpen_clicked();

    void on_sliderPlay_sliderPressed();

    void on_sliderPlay_sliderReleased();

    void on_sliderPlay_sliderMoved(int position);

    void on_sliderContrast_valueChanged(int value);

    void on_sliderBrightness_valueChanged(int value);

    void on_btnSet_clicked();

    void on_btnExport_clicked();

    void on_btnPlay_clicked(bool checked);

    void on_btnMark_clicked();

    void on_btnBlend_clicked();

    void on_btnMerge_clicked();

    void on_sliderLeft_sliderMoved(int position);

    void on_sliderRight_sliderMoved(int position);

    void on_sliderLeft_sliderPressed();

    void on_sliderLeft_sliderReleased();

    void on_sliderRight_sliderPressed();

    void on_sliderRight_sliderReleased();

private:
    Ui::XVideoUI *ui;
};
#endif // XVIDEOUI_H
